Port to GNU/Linux systems with tinfo but not ncurses.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Jul 2013 08:08:57 +0000 (09:08 +0100)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Jul 2013 08:08:57 +0000 (09:08 +0100)
commitd413254181d3acf33b022febb402465db134bd4e
treea3c85ad1ccb49927fdd6e2f65c3548ca5d3e9697
parent345459118dfe41222f71133bee63a038d8d5b250
Port to GNU/Linux systems with tinfo but not ncurses.

* configure.ac (USE_NCURSES): New symbol.
* src/dispnew.c (init_display): Depend on USE_NCURSES, not GNU_LINUX,
to decide whether ncurses is being used.  Without this change,
GCC complains about tgetent not being declared, on a system
that has tinfo installed but ncurses not installed.
ChangeLog
configure.ac
src/ChangeLog
src/dispnew.c